package com.fusuhai02;

public class Salary extends Employee {

    float salary;

    public float computePay(){
        return(float)(this.salary/12.0);
    }

    @Override
    public void mailCheck(){
        super.mailCheck();
        System.out.println("-------------");
    }
}
